
#include "iterator.hpp"
#include "list.hpp"
#include <cstdio>

int main(int argc, char* argv[])
{
  Collection<int>* list = new List<int>();
  for (int i = 0; i < 10; ++i)
    list->Add(i + 1);
  list->Remove(1);
  for (auto itr = list->GetIterator(); itr->HasMore(); itr->Next())
    printf("%d ", itr->Get());
  return 0;
}
